package com.ehome.poct.base.api.dto.device;

import com.ehome.core.entity.DTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class DeviceBootingInfoDTO extends DTO {

    @NotNull(message = "设备号必填")
    @ApiModelProperty(value = "设备号",required = true)
    private String sno;
    @ApiModelProperty(value = "开机质检结果数据",notes = "开机质检结果数据")
    private String bootingJson;
    @ApiModelProperty(value = "质检时间",notes = "质检时间")
    private LocalDateTime checkTime;

}
